package com.camartsApp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 照片列表专用实体类
 */
@Data
@TableName("photo")
public class PhotoListEntity {
    @TableId
    private String id;

    @TableField("user_id")
    private String userId;

    private String url;
    private Double latitude;
    private Double longitude;
    @TableField(exist = false)
    private String title;
    @TableField("taken_at")
    private LocalDateTime takenAt;
} 